import { useGridController } from '@ibiz-template/react-util';
import { GridControlProps } from '../../../props';

/**
 * 表格部件
 *
 * @author chitanda
 * @date 2022-07-25 21:07:37
 * @export
 * @return {*}
 */
export function GridControl(props: GridControlProps) {
  const { model, context, params } = props;
  const c = useGridController(model, context, params);
  return <div>表格部件-{c.model.source.codeName}</div>;
}
